home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
AMIGA
/
AMICUS
/
AMIBEST4.ADF
/
AmigaBasicStuff
/
DeluxeDraw.DOC
< prev
next >
Wrap
Text File
|
1987-07-22
|
5KB
|
98 lines
This is the program from issue #3 of Amazing Computing, where the following
description can also be found.
DeluxeDraw is a drawing program with many features found only in more
expensive drawing programs. It saves pictures or brushes in the format
used by BASIC for BOBs and VSprites. One of the advantages of this program
over other drawing programs is its ability to choose high or low
resolution. You may choose the number of bit planes, thus controlling the
total number of colors available. It is written in AmigaBasic and requires
512K bytes of memory.
Deluxe Draw demonstrates many advanced uses of Amiga Basic, including using
functions from the Amiga operating system libraries.
Here is a a short description of the program's modes, and an explanation of
the icons on the screen.
The number of available drawing colors is controlled by the number of bit
planes selected when the program starts. Enter 5 for 32 colors, 4 for
sixteen colors, 3 for eight colors, or 2 for four colors.
The leftmost column of 4, 8, 16, or 32 boxes is used to select the current
foreground and background colors. The foreground color is surrounded by a
white highlight, the background color is the previous foreground color.
The foreground/background color pair are displayed in the lowest box in the
second column.
The rightmost column is used to select the drawing styles and to toggle
options on or off. Each selected style or option is surrounded by a white
highlight box. To select an option, click once on the that box.
The first four boxes, with trapezoids inside, are different brush widths,
from a single-pixel fine brush to a fat eight-pixel-wide brush.
The fifth box, with a brush icon inside, is used to select a custom brush.
This selection lets you frame an area of your picture and use that area as
a brush. Move the mouse to the upper-left-hand corner of the area for the
new brush, and click and hold the left mouse button. Move the mouse to the
lower-right-hand corner, and release the button. If a brush has been
selected, click this box again to discard the brush, and to select another.
The sixth box has an icon of rays radiating from a point. It is used to
draw multiple lines. Select a center point for the lines with the mouse by
clicking once in a spot in the drawing area. Lines are drawn from the
point where the mouse button is first pressed to the current mouse position
as long as the button is held down.
The seventh icon is a tipped-over paint can. This selection is used to
flood fill an area with the current foreground color. The area to be
filled is that area with all adjacent pixels that have the same color as
the one where the mouse button was clicked. Note that this function uses
the Amiga graphics library "Flood" call, instead of the corresponding Amiga
Basic function. The Amiga graphics function operates as one would expect -
a marked area is filled with a color.
The eighth selection is for sizable circles. A circle outline is
rubber-banded between the center where the button is first pressed. When
the button is released, a circle is drawn at that size and location. Its
radius is the distance between that center and the current mouse position.
The ninth box has rectangle inside. This is the sizable rectangle
selection. A rectangle is rubber banded between the point where the button
is first pressed and the point where you let up on the button. The
rectangle is then drawn in the current foreground color.
The tenth icon with a single line is the line selection icon. It draws a
line between the point where the mouse button is first pressed and the
point where it is released.
The eleventh box has a 'T' inside. This denotes the text selection.
Simply click the mouse button where text is to be printed, and type the
text at the keyboard. Note that the text will be printed with the current
foreground and background colors.
The twelfth box which has three horizontal bars in it denotes the red,
green, and blue sliders. Click this box to adjust the currently selected
drawing color. A window with three sliders will appear. These sliders are
used to precisely select the amount of red, green, and blue in the current
foreground color.
The thirteenth box, with a checkerboard pattern inside, is used to toggle
between checker-fill and solid modes. This controls whether flood fill,
lines, rays, and the various width brushes paint in solids or checks.
The fourteenth box with multiple vertical stripes of color is used to turn
on or off the color cycle mode. The colors between the foreground and
background color are rotated in a cyclical manner.
The fifteenth and last selectable box selects cycle draw. When this is
turned on the current foreground color is rotated through the colors
between the foreground and background colors displayed in the last box.
========================================================================
Program by Rick Wirch